
<#if !logged && !invalidLogin?exists >
<table >
<form action="${JForumContext.encodeURL("/jforum")}" method="post" name="loginform" id="loginform" accept-charset="${encoding}">
 
 <input type="hidden" name="module" value="user" />
 
 <input type="hidden" name="action" value="validateLogin" />
 
<#if returnPath?exists>
  <input type="hidden" name="returnPath" value="${returnPath?html}" />
</#if>
 <table>
 
 <td><span class="gensmall">${I18n.getMessage("Login.user")}:</span></td>
    <td><input class="post" maxlength="15" size="15" name="username" type="text" /> </td>
    
 <td><span class="gensmall">${I18n.getMessage("Login.password")}:</span></td>
    <td><input class="post" type="password" maxlength="15" size="15" name="password" /> </td>
    
<#if autoLoginEnabled>
<td colspan="2"><span class="gensmall"><label for="autologin">${I18n.getMessage("Login.autoLogon")}:
  <input type="checkbox" id="autologin" name="autologin" /></span></td>
</#if>
 <td>
 <input class="mainoption" type="submit" value="${I18n.getMessage("Login.enter")}" name="login" />
 </td>
 </table>
</form>
</table>
</#if>